<?php

define('CONFIG_PATH','../config.php');

include '../function.php';



$arr = [12,34,5,7,79,[23,34,[4,6,[5,6,7],7],78]];

function Arr($arr)
{
	foreach ($arr as $key => $value) {
		if(is_array($value)){
			$arr[$key] = Arr($value);
		}elseif(($value%2)==1){
			$arr[$key] = $value*2;
		}
	}
	return $arr;
}

var_dump(Arr($arr));

var_dump(C('DB_HOST'));








 ?>